package com.dky.satell.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dky.satell.entity.OfflineFileMeta;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity OfflineFileMeta
 */
@Mapper
public interface OfflineFileMetaMapper extends BaseMapper<OfflineFileMeta> {

    /**
     * 根据文件名查询
     * @param fileName
     * @return
     */
    OfflineFileMeta selectOfflineMetaFileByName(@Param("fileName")String fileName);

    /**
     * 获取所有待加载的文件
     * @return
     */
    List<OfflineFileMeta> getAllToBeLoaded();


}




